package com.hera.base.util;

public final class Constantes {

	public static class MANTENIMIENTO{
		public final static Integer NUEVO		=1;
		public final static Integer MODIFICAR	=2;
		public final static Integer ELIMINAR	=3;
		public final static Integer CANCELAR	=4;
		public final static Integer BUSCAR		=5;
	}
	
	public static class CODIGO_MENSAJE{
		public final static String VALOR_REQUERIDO				="core.general.valor.nulo";
		public final static String COMBO_REQUERIDO				="core.general.combo.requerido";
		public final static String CAMPO_REQUERIDO				="core.general.valor.requerido";
		public final static String ERROR_INESPERADO				="core.general.error.inesperado";
		public final static String ERROR_GUARGAR				="core.general.error.guardar";
		public static final String REGISTROS_RELACIONADOS		="core.general.error.registros.relacionados";
		public final static String VALIDACION_USUARIO			="preval.iniciar.sesion.usuario.password.invalido";
		
	}
	public static class STATUS{
		public final static Long ID			=	1L;
		public final static String ACTIVO	=	"A";
		public final static String INACTIVO	=	"I";
	}
	
	public static class DIAGRAMCOMPONENTS{
		public final static String BLOCK		= "Block";
		public final static String CONNECTION	= "Connection";
	}
	
	public static class NODETYPE{
		public final static Long ID			= 47l;
		public final static String BEGIN	= "begin";
		public final static String STAGE	= "rect";
		public final static String DECISION	= "diamond";
		public final static String END		= "end";
		
		public final static Long ID_BEGIN	= 226l;
		public final static Long ID_STAGE	= 227l;
		public final static Long ID_DECISION= 228l;
		public final static Long ID_END		= 229l;
	}
	
	public static class FORMTYPECOMPONENT{
		public final static Long ID			= 48l;
		public final static Long BUTTON			= 230l;
		public final static Long CHECKBOX		= 231l;
		public final static Long COMBOBOX		= 232l;
		public final static Long INPUTDATE		= 233l;
		public final static Long OPTIONGROUP	= 234l;
		public final static Long TEXTFIELD		= 235l;		
		public final static Long TEXTAREA		= 236l;
		public final static Long RICHTEXTAREA	= 237l;
		public final static Long TABLE			= 238l;
		public final static Long TWINCOLSELECT	= 239l;
		public final static Long PASSWORD		= 240l;
		public final static Long LABEL			= 241l;
		public final static Long UPLOAD			= 242l;
		public final static Long SLIDER			= 243l;
	}
	
	public static class FORMTYPE{
		public final static Long ID				= 42l;
		public final static Long NORMAL			= 207l;
		public final static Long GRID			= 208l;
	}
	
	public static class DAYS{
		public final static Long ID			=	new Long(2);
	}
	
	public static class Meses{
		public final static Long ID			=	new Long(3);
	}
	
	public static class Horas{
		public final static Long ID			=	new Long(4);
	}
	
	public static class Minutos{
		public final static Long ID			=	new Long(5);
	}
	
	public static class TipoFeriados{
		public final static Long ID			=	new Long(6);
	}
	
	public static class MetodosLogin{
		public final static Long ID			=	new Long(7);
	}
	
	public static class ModoFormulario{
		public final static Long ID			=	new Long(15);
	}
	
	public static class ModoField{
		public final static Long ID			=	new Long(17);
	}
	
	public static class TipoFormulario{
		public final static Long ID			=	new Long(42);
	}
	
	public static class TipoStageUser{
		public final static Long ID			=	new Long(16);
		public final static Long USUARIO	=	new Long(209);
		public final static Long DEPARTAMENTO	=	new Long(210);
		public final static Long GRUPO		=	new Long(211);
	}

	public static class BANDEJA {
		public final static Integer ENTRADA	   = 1;
		public final static Integer USUARIO	   = 2;
		public final static Integer SOLICITADO = 3;
		public final static Integer BORRADOR   = 4;
		public final static Integer ELIMINADO  = 5;
	}
	public static class ESTADOTAREA{
		public final static Long PENDIENTE		=	114l;
		public final static Long ATENDIDO		=	115l;
		public final static Long RECHAZADO		=	116l;
		public final static Long CANCELADO		=	117l;
		public final static Long BORRADOR		=	118l;
	}
	public static class USUARIO{
		public final static String SESSION_NAME		=	"user";
		
		
	}
	public static class TIPODATO{
		public final static Long CHAR		= 120l;
		public final static Long VARCHAR	= 121l;
		public final static Long NUMERIC 	= 122l;
		public final static Long DATE		= 123l;
	}
	
	public static class VALIDACION_CAMPOS{
		public final static String CAMPO_REQUERIDO="fieldRequired";
		public final static String ENTERO="entero";
		public final static String NUMERICO_DECIMAL="decimal";
		public final static String NUMERICO="numerico";
		public final static String NUMERICO8="numerico8";
		public final static String NUMERICO11="numerico11";
		
		public final static String MONTO="monto";
		public final static String MONTO_D="montoD";
		
		public final static String CAMPO_REQUERIDO_VACIO = "fieldRequiredEmpty";
		public final static String CAMPO_REQUERIDO_VACIO2 = "fieldRequiredEmpty2";
		
		
	}
	public static class MENU{		
		public final static Long ROOT					=	-1L;
		public final static String PARAMETER			=	"PAR";
		public final static String DATA_SOURCE			=	"DSO";
		public final static String PROCESS_GROUP		=	"PGR";
		public final static String PROCESS				=	"PRO";
		public final static String DEPARTMENT			=	"DEP";
		public final static String CALENDAR				=	"CAL";
		public final static String LOGIN_METHOD			=	"LME";
		public final static String USUARIO				=	"USU";
		public final static String SECURITY_GROUP		=	"SGR";
		public final static String FILED_OPTION			=	"FOP";
	}
	
	public static class STRINGVALUES{
		public final static String STRSTAGE			=	"$$stage$$";
		public final static String STRTASKINSTANCE	=	"$$taskinstance$$";
		
		public final static String NOMBRETABLAGENERICO		=	"TBL_PROCESO";
		public final static String NOMBRETABLADETGENERICO	=	"DET";
	}
	
	public static class TIPO_TABLA{
		public final static Long TABLA_BASE		=	214l;
		public final static Long TABLA_DETALLE	=	215l;
	}
	
	public static class TIPO_OPERANDO_CONDICION{
		public final static Long ID = 44l;
		public final static Long OPERANDO_VARIABLE	=	216l;
		public final static Long OPERANDO_FIJO		=	217l;
	}
	
	public static class TIPO_OPERADOR_CONDICION{
		public final static Long ID 			= 	45l;
		public final static Long IGUAL			=	218l;
		public final static Long MENOR			=	219l;
		public final static Long MAYOR			=	220l;
		public final static Long MENOR_IGUAL	=	221l;
		public final static Long MAYOR_IGUAL	=	222l;
		public final static Long DIFERENTE		=	223l;
	}
	
	public static class TIPO_CONECTOR_CONDICION{
		public final static Long ID = 46l;
		public final static Long AND		=	224l;
		public final static Long OR			=	225l;		
	}
	
	public static class CATEGORIAPROCESO{
		public final static Long ID			=	50l;
	}
	
	public static class ESTADOPROCESO{
		public final static Long ID			=	51l;
		public final static Long DESARROLLO			=	248l;
		public final static Long PUBLICADO			=	249l;
		public final static Long DE_BAJA			=	250l;
	}
	
	public static class UNIDADTIEMPO{
		public final static Long ID			=	49l;
	}
	
	public static class Default{
		public final static Integer DIAGRAM_WIDTH	=	800;
		public final static Integer DIAGRAM_HEIGHT	=	490;
	}
}

